/*
 * Created by LiuYou on 2020/11/27.
 *
 */

#include "GraphicsCard.hpp"

GraphicsCardNameSpace::GraphicsCard::GraphicsCard(int graphicsCardId, const std::string& graphicsCardFeature)
        : graphicsCardId(graphicsCardId), graphicsCardFeature(graphicsCardFeature) {}

GraphicsCardNameSpace::GraphicsCard::~GraphicsCard() = default;

int GraphicsCardNameSpace::GraphicsCard::getGraphicsCardId() const {
    return graphicsCardId;
}

const std::string& GraphicsCardNameSpace::GraphicsCard::getGraphicsCardFeature() const {
    return graphicsCardFeature;
}

std::ostream& GraphicsCardNameSpace::operator<<(std::ostream& os, const GraphicsCardNameSpace::GraphicsCard& card) {
    os << "graphicsCardId: " << card.graphicsCardId << " graphicsCardFeature: " << card.graphicsCardFeature;
    return os;
}

